<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<script type="text/javascript">
			function FCKeditor_OnComplete(editorInstance) {
				var oCombo = document.getElementById('cmbSkins') ;
	
				// Get the active skin.
				var sSkin = editorInstance.Config['SkinPath'] ;
				sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
	
				oCombo.value = sSkin ;
				oCombo.style.visibility = '' ;
			}

			function ChangeSkin(skinName) {
				window.location.href = window.location.pathname + "?skin=" + skinName ;
			}
		</script>
</head>
<body>
<s:form method="POST" action="saveContactUs">
	
	 <FCK:editor instanceName="contactUs.information" value="${contactUs.information}" height="600px" width="1200px">
		            <jsp:body>
		               <FCK:config SkinPath="${skin}"/>
		            </jsp:body>
		         </FCK:editor>
	<s:file name="photo" label="公司描述"/>
	<s:textfield name="contactUs.address" label="联系地址"/>
	<s:textfield name="contactUs.tel" label="联系电话"/>
	<s:textfield name="contactUs.contactMan" label="联系人"/>
	<input type="hidden" name="contactUs.id" value="${contactUs.id}"/>
	<s:submit name="提交" label="提交" />
</s:form>
</body>
</html>